package org.jeecg.modules.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import lombok.Data;
import org.jeecg.common.system.vo.LoginUser;
import org.jeecg.common.util.StringUtils;

import javax.xml.bind.annotation.XmlTransient;
import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @Author liurui
 * @Date 2019/10/15 17:38
 * @Version 1.0
 **/
@Data
public class BaseEntity implements Serializable {

    /**
     * 菜单路径
     */
    @TableField(exist = false)
    private String menuPath;

    /**
     * 机构类型
     */
    @TableField(exist = false)
    private String departType;

    /**
     * 机构id
     */
    @TableField(exist = false)
    private String departIdEx;

    @TableField(exist = false)
    protected String sqlMap;

    public void resetValue(){
        this.menuPath = null;
        this.departType = null;
        this.departIdEx = null;
        this.sqlMap = null;
    }

}
